package com.service.impl;

import com.dao.IUser;
import com.model.Echarts;
import com.model.Nums;
import com.model.User;
import com.model.yiqing;
import com.service.userService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class userServiceImpl implements userService {

    @Autowired
    private IUser iUser;

    @Override
    public int insertUser(User user) {
        return iUser.insertUser(user);
    }

    @Override
    public List<Nums> getUser(yiqing id) {
        return iUser.getUser(id);
    }

    @Override
    public int updateUser(User user) {
        return iUser.updateUser(user);
    }

    @Override
    public int deleteUser(int id) {
        return iUser.deleteUser(id);
    }

    @Override
    public List<User> getAllUsers(User user){
        return iUser.getAllUsers(user);
    }

    @Override
    public List<Echarts> EchartsUserStart(yiqing user){
        return iUser.EchartsUserStart(user);
    }

    @Override
    public List<Echarts> Echartsall(yiqing user){ return iUser.Echartsall(user); }

    @Override
    public List<Echarts> Echartschina(yiqing user){ return iUser.Echartschina(user); }

    @Override
    public List<Nums> getWuzhengzhuang(yiqing user){ return iUser.getWuzhengzhuang(user); }

    @Override
    public List<Nums> getXianyouyisi(yiqing user){ return iUser.getXianyouyisi(user); }

    @Override
    public List<Nums> getXianyouzhongzheng(yiqing user){ return iUser.getXianyouzhongzheng(user); }

    @Override
    public List<Nums> getLeijiquezhen(yiqing user){ return iUser.getLeijiquezhen(user); }

    @Override
    public List<Nums> getJingwaishuru(yiqing user){ return iUser.getJingwaishuru(user); }

    @Override
    public List<Nums> getLeijisiwang(yiqing user){ return iUser.getLeijisiwang(user); }

    @Override
    public List<Nums> getLeijizhiyu(yiqing user){ return iUser.getLeijizhiyu(user); }

    @Override
    public List<Nums> getshuju(yiqing user){ return iUser.getshuju(user); }

    @Override
    public List<Nums> getXinzeng(yiqing user){ return iUser.getXinzeng(user); }

    @Override
    public List<Nums> getZhiyu(yiqing user){ return iUser.getZhiyu(user); }

    @Override
    public List<Nums> getSiwang(yiqing user){ return iUser.getSiwang(user); }

    @Override
    public List<Nums> getLeiji(yiqing user){ return iUser.getLeiji(user); }
}
